package geektime.spring.springbucks.waiterservice.repository;


import geektime.spring.springbucks.waiterservice.model.Coffee;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CoffeeRepository extends JpaRepository<Coffee, Long> {

  List<Coffee> findByNameInOrderById(List<String> list);

  Coffee findByName(String name);
}
